<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<c:if test="${not empty bwhRecords}">
<table class="table table-striped table-hover x-table" style="margin-bottom:20px;">
  <thead>
    <tr>
      <th>胸围</th>
      <th>腰围</th>
      <th>臀围</th>
      <th>记录时间</th>
    </tr>
  </thead>
  <tbody>
    <c:forEach var="bwhRecord" items="${bwhRecords}">
      <tr>
        <td>${bwhRecord.bust}</td>
        <td>${bwhRecord.waist}</td>
        <td>${bwhRecord.hips}</td>
        <td>${bwhRecord.recordTime}</td>
      </tr>
    </c:forEach>
  </tbody>
</table>
</c:if>
